/* ActionSheet 样式 */
.comment-action-sheet {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
}

.action-sheet-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.action-sheet-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #fff;
  border-radius: 12px 12px 0 0;
  animation: slideUp 0.3s ease-out;
}

.action-sheet-content.slide-down {
  animation: slideDown 0.3s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes slideDown {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(100%);
  }
}

.action-sheet-actions {
  padding: 0;
}

.action-sheet-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 1rem;
  font-size: 0.32rem;
  color: #333;
  /* border-bottom: 1px solid #f0f0f0; */
  cursor: pointer;
  transition: background-color 0.2s;
}

/* .action-sheet-item:hover {
        background-color: #f5f5f5;
      }

      .action-sheet-item:last-child {
        border-bottom: none;
      } */

.action-sheet-gap {
  height: 0.08rem;
  background-color: #f7f8fa;
}

.action-sheet-cancel {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 1rem;
  font-size: 0.32rem;
  color: #333;
  background-color: #fff;
  cursor: pointer;
}

/* 禁用所有交互状态的背景色变化 */
.action-sheet-cancel:hover,
.action-sheet-cancel:active,
.action-sheet-cancel:focus {
  background-color: #fff !important;
}

/* 删除确认弹窗样式 */
.delete-confirm-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 280px;
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  animation: modalShow 0.3s ease-out;
}

@keyframes modalShow {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

.modal-title {
  padding: 20px 20px 10px;
  font-size: 16px;
  font-weight: 500;
  color: #333;
  text-align: center;
}

.modal-message {
  padding: 0 20px 20px;
  font-size: 14px;
  color: #666;
  text-align: center;
  line-height: 1.4;
}

.modal-actions {
  display: flex;
  border-top: 1px solid #f0f0f0;
}

.modal-btn {
  flex: 1;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.modal-cancel {
  color: #666;
  border-right: 1px solid #f0f0f0;
}

.modal-cancel:hover {
  background-color: #f5f5f5;
}

.modal-confirm {
  color: #e1251b;
  font-weight: 500;
}

.modal-confirm:hover {
  background-color: #f5f5f5;
}
